// import com.alibaba.druid.sql.ast.SQLStatement;
// import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;

// import java.util.ArrayList;
// import java.util.List;

#include "DrdsCancelDDLJob.h"
#include "../../visitor/MySqlASTVisitor.h"

DrdsCancelDDLJob::DrdsCancelDDLJob()
{
  jobIds = std::make_shared<std::list<long>>();
}

void DrdsCancelDDLJob::accept0(MySqlASTVisitor_ptr visitor)
{
  visitor->visit(SharedObject(DrdsCancelDDLJob));
  visitor->endVisit(SharedObject(DrdsCancelDDLJob));
}

long_list_ptr DrdsCancelDDLJob::getJobIds()
{
  return jobIds;
}

void DrdsCancelDDLJob::addJobId(long id)
{
  jobIds->push_back(id);
}
